from urllib import parse

url_params = parse.urlencode({
    "name": "qiku",
    "address":"东三街"
})
print(url_params)
# 汉字编码为%**
s1 = parse.quote("我吃西红柿")
print(s1)
# 解码%**
s2 = parse.unquote(s1)
print(s2)